import request from '@/utils/request'

// 获取 菜单
export function queryMenu(data) {
    return request({
        url: '/api/queryMenu',
        method: 'post',
        data
    })
}

// 删除菜单
export function deleteMenu(data) {
    return request({
        url: '/api/deleteMenu',
        method: 'post',
        data
    })
}

// 添加菜单
export function addMenu(data) {
    return request({
        url: '/api/addMenu',
        method: 'post',
        data
    })
}
